package com.example.helloworld;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class MyActivity extends Activity {

	
	TextView messageView;
	public static final String PARAM_NAME="name";
	public static final String PARAM_AGE="age";
	
	
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	
	    setContentView(R.layout.activity_main);
	    Intent i=getIntent();
	    String name = i.getStringExtra("name");
	    int age=i.getIntExtra("age", 0);
	    
	    messageView = (TextView)findViewById(R.id.textView1);
	
	}

}
